package fr.cpe.j2ee.projet.war;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.Size;


public class ProjectAdditionBean 
{
	@Min(0) @Max(10000) 
	private int proId;
	
	@Min(0) @Max(10000000) 
	private int proBudget;
	
	@Size(min=2,max=500)
	private String proDescription; 
	
	@Size(min=2,max=25)
	private String proName;
	
	//private Employee projectManager = LoginBean currentUser = (LoginBean)FacesContext.getCurrentInstance().getExternalContext().getSessionMap().get("login");
	//private List<Activity> activities;
	//private List<Conversation> conversations;

	public int getProId() {
		return proId;
	}

	public void setProId(int proId) {
		this.proId = proId;
	}

	public int getProBudget() {
		return proBudget;
	}

	public void setProBudget(int proBudget) {
		this.proBudget = proBudget;
	}

	public String getProDescription() {
		return proDescription;
	}

	public void setProDescription(String proDescription) {
		this.proDescription = proDescription;
	}

	public String getProName() {
		return proName;
	}

	public void setProName(String proName) {
		this.proName = proName;
	}
}
